package bpm.service.impl.foreignactive;

import java.util.List;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;

import bpm.dao.foreignactive.ForeignActiveRecordDao;
import bpm.domain.foreignactive.ForeignActiveRecord;
import bpm.service.foreignactive.ForeignActiceRecordService;
import bpm.service.impl.foreignactive.BuildFaSql;
@Controller("foreignActiveRecordService")
@Transactional
public class ForeignActiveRecordBean implements ForeignActiceRecordService {
	
	@Resource
	private ForeignActiveRecordDao foreignActiveRecordDao;
	private static final Logger logger=Logger.getLogger(ForeignActiveServiceBean.class);


	public List<ForeignActiveRecord> findForeignActiveRecordList(String id) {
		String sql=BuildFaSql.getFindForeignActiveRecordSql(id);
		logger.debug("QuerySql "+sql);
		return this.foreignActiveRecordDao.findForeignActiveRecordList(sql);
	
	}

	

}
